import yagmail
def send_mail(filepath):
    mail=yagmail.SMTP(user="1641759621@qq.com",password="cypkpyfkayvfbcjh",host="smtp.qq.com")
    mail.send(to="1641759621@qq.com",subject="11.7报告",contents="请查收",attachments=filepath)